package com.shopping_back.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shopping_back.pojo.entity.RefundRecord;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 退款记录表 服务类
 * </p>
 *
 * @author Jack
 * @since 2025-07-12
 */
public interface IRefundRecordService extends IService<RefundRecord> {

    Page<RefundRecord> getRefunds(Long merchantId, Integer page, Integer size);

    void approveRefund(Long paymentId, String refundSn, Long merchantId);

    void rejectRefund(Long paymentId, String refundSn, Long merchantId);
}
